# -*- coding: utf-8 -*-
# @Time : 2021/9/1 18:29
# @Author : 唐宁
# @Site :  路由注册类
# @File : RouterHandler.py
# @Software: PyCharm
from fastapi import APIRouter, FastAPI

from core.order.controller.FileController import file
from core.order.controller.OrderController import order


class RouterHandler:

    @staticmethod
    def register(app: FastAPI):
        # 注册订单路由
        app.include_router(order)
        # 注册文件路由
        app.include_router(file)
